package com.example.mapper;

import com.example.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import java.math.BigDecimal;
import java.util.List;

/**

 *
 *  订单Dao
 */
@Repository
public interface OrderMapper extends Mapper<Order> {
    Order selectInfoByOid(@Param("oid") int oid);

    List<Order> selectByCondition(String ono, BigDecimal minPrice, BigDecimal maxPrice, String startTime, String endTime, Integer status, String operator);
}
